package org.dev.vlp.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Email;

/**
 * Description
 * Param
 * return
 * Author:86184
 * Date: 2023/1/3
 */
@Data
public class UserLoginParam {
    @Length(max = 50, message = "用户名太长")
    private String username;
    @Email(message = "邮箱格式错误")
    private String email;
    @Length(min = 6, max = 50, message = "密码格式错误")
    private String password;
    private String code;
}
